package com.eaoa.uc.busscore.bo;

import java.util.Date;

import com.eaoa.base.EABaseBusinessObject;
import com.eaoa.dao.bus.BusScoreDAO;
import com.eaoa.vo.bus.BusScore;

public class BusScoreModifyBO extends EABaseBusinessObject{

	private static BusScoreDAO busScoreDAO = new BusScoreDAO();
	private BusScore vo;
	
	public BusScoreModifyBO(BusScore vo) {
		super();
		this.vo=vo;
	}
	
	@Override
	protected void performBusinessLogic() {
	
		if(vo.getScoreno()==null){
			vo.setCreatedate(new Date());
			busScoreDAO.save(vo);
		}else{
			
		}
	}
}
